package cn.zh.npro.Activity;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import cn.zh.npro.R;

public class ChangePs extends BaseActivity {
    EditText oldps,nps,npst;
    ImageView mc_back;
    TextView cpscom;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_change_ps);
        initcps();

      }

    public void initcps(){
        oldps=findViewById(R.id.oldps);
        nps=findViewById(R.id.nps);
        npst=findViewById(R.id.npst);
        mc_back=findViewById(R.id.mc_back);
        cpscom=findViewById(R.id.cpscom);
        mc_back.setOnClickListener(this);
        cpscom.setOnClickListener(this);
         }


    @Override
    public void onClick(View view) {
        super.onClick(view);
        int id=view.getId();
        switch (id){
            case R.id.mc_back:
                finish();
                break;
            case R.id.cpscom:
                //修改密码
                finish();
                break;
          }
        }








  }
